package com.jy.adscm.spss.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Yl_MaterialQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public Yl_MaterialQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("TID is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("TID is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(String value) {
            addCriterion("TID =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(String value) {
            addCriterion("TID <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(String value) {
            addCriterion("TID >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(String value) {
            addCriterion("TID >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(String value) {
            addCriterion("TID <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(String value) {
            addCriterion("TID <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLike(String value) {
            addCriterion("TID like", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotLike(String value) {
            addCriterion("TID not like", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<String> values) {
            addCriterion("TID in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<String> values) {
            addCriterion("TID not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(String value1, String value2) {
            addCriterion("TID between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(String value1, String value2) {
            addCriterion("TID not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTaskcodeIsNull() {
            addCriterion("TASKCODE is null");
            return (Criteria) this;
        }

        public Criteria andTaskcodeIsNotNull() {
            addCriterion("TASKCODE is not null");
            return (Criteria) this;
        }

        public Criteria andTaskcodeEqualTo(Long value) {
            addCriterion("TASKCODE =", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeNotEqualTo(Long value) {
            addCriterion("TASKCODE <>", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeGreaterThan(Long value) {
            addCriterion("TASKCODE >", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeGreaterThanOrEqualTo(Long value) {
            addCriterion("TASKCODE >=", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeLessThan(Long value) {
            addCriterion("TASKCODE <", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeLessThanOrEqualTo(Long value) {
            addCriterion("TASKCODE <=", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeIn(List<Long> values) {
            addCriterion("TASKCODE in", values, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeNotIn(List<Long> values) {
            addCriterion("TASKCODE not in", values, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeBetween(Long value1, Long value2) {
            addCriterion("TASKCODE between", value1, value2, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeNotBetween(Long value1, Long value2) {
            addCriterion("TASKCODE not between", value1, value2, "taskcode");
            return (Criteria) this;
        }

        public Criteria andBatchnumsIsNull() {
            addCriterion("BATCHNUMS is null");
            return (Criteria) this;
        }

        public Criteria andBatchnumsIsNotNull() {
            addCriterion("BATCHNUMS is not null");
            return (Criteria) this;
        }

        public Criteria andBatchnumsEqualTo(String value) {
            addCriterion("BATCHNUMS =", value, "batchnums");
            return (Criteria) this;
        }

        public Criteria andBatchnumsNotEqualTo(String value) {
            addCriterion("BATCHNUMS <>", value, "batchnums");
            return (Criteria) this;
        }

        public Criteria andBatchnumsGreaterThan(String value) {
            addCriterion("BATCHNUMS >", value, "batchnums");
            return (Criteria) this;
        }

        public Criteria andBatchnumsGreaterThanOrEqualTo(String value) {
            addCriterion("BATCHNUMS >=", value, "batchnums");
            return (Criteria) this;
        }

        public Criteria andBatchnumsLessThan(String value) {
            addCriterion("BATCHNUMS <", value, "batchnums");
            return (Criteria) this;
        }

        public Criteria andBatchnumsLessThanOrEqualTo(String value) {
            addCriterion("BATCHNUMS <=", value, "batchnums");
            return (Criteria) this;
        }

        public Criteria andBatchnumsLike(String value) {
            addCriterion("BATCHNUMS like", value, "batchnums");
            return (Criteria) this;
        }

        public Criteria andBatchnumsNotLike(String value) {
            addCriterion("BATCHNUMS not like", value, "batchnums");
            return (Criteria) this;
        }

        public Criteria andBatchnumsIn(List<String> values) {
            addCriterion("BATCHNUMS in", values, "batchnums");
            return (Criteria) this;
        }

        public Criteria andBatchnumsNotIn(List<String> values) {
            addCriterion("BATCHNUMS not in", values, "batchnums");
            return (Criteria) this;
        }

        public Criteria andBatchnumsBetween(String value1, String value2) {
            addCriterion("BATCHNUMS between", value1, value2, "batchnums");
            return (Criteria) this;
        }

        public Criteria andBatchnumsNotBetween(String value1, String value2) {
            addCriterion("BATCHNUMS not between", value1, value2, "batchnums");
            return (Criteria) this;
        }

        public Criteria andResourcenameIsNull() {
            addCriterion("RESOURCENAME is null");
            return (Criteria) this;
        }

        public Criteria andResourcenameIsNotNull() {
            addCriterion("RESOURCENAME is not null");
            return (Criteria) this;
        }

        public Criteria andResourcenameEqualTo(String value) {
            addCriterion("RESOURCENAME =", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameNotEqualTo(String value) {
            addCriterion("RESOURCENAME <>", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameGreaterThan(String value) {
            addCriterion("RESOURCENAME >", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameGreaterThanOrEqualTo(String value) {
            addCriterion("RESOURCENAME >=", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameLessThan(String value) {
            addCriterion("RESOURCENAME <", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameLessThanOrEqualTo(String value) {
            addCriterion("RESOURCENAME <=", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameLike(String value) {
            addCriterion("RESOURCENAME like", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameNotLike(String value) {
            addCriterion("RESOURCENAME not like", value, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameIn(List<String> values) {
            addCriterion("RESOURCENAME in", values, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameNotIn(List<String> values) {
            addCriterion("RESOURCENAME not in", values, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameBetween(String value1, String value2) {
            addCriterion("RESOURCENAME between", value1, value2, "resourcename");
            return (Criteria) this;
        }

        public Criteria andResourcenameNotBetween(String value1, String value2) {
            addCriterion("RESOURCENAME not between", value1, value2, "resourcename");
            return (Criteria) this;
        }

        public Criteria andTypenumsIsNull() {
            addCriterion("TYPENUMS is null");
            return (Criteria) this;
        }

        public Criteria andTypenumsIsNotNull() {
            addCriterion("TYPENUMS is not null");
            return (Criteria) this;
        }

        public Criteria andTypenumsEqualTo(String value) {
            addCriterion("TYPENUMS =", value, "typenums");
            return (Criteria) this;
        }

        public Criteria andTypenumsNotEqualTo(String value) {
            addCriterion("TYPENUMS <>", value, "typenums");
            return (Criteria) this;
        }

        public Criteria andTypenumsGreaterThan(String value) {
            addCriterion("TYPENUMS >", value, "typenums");
            return (Criteria) this;
        }

        public Criteria andTypenumsGreaterThanOrEqualTo(String value) {
            addCriterion("TYPENUMS >=", value, "typenums");
            return (Criteria) this;
        }

        public Criteria andTypenumsLessThan(String value) {
            addCriterion("TYPENUMS <", value, "typenums");
            return (Criteria) this;
        }

        public Criteria andTypenumsLessThanOrEqualTo(String value) {
            addCriterion("TYPENUMS <=", value, "typenums");
            return (Criteria) this;
        }

        public Criteria andTypenumsLike(String value) {
            addCriterion("TYPENUMS like", value, "typenums");
            return (Criteria) this;
        }

        public Criteria andTypenumsNotLike(String value) {
            addCriterion("TYPENUMS not like", value, "typenums");
            return (Criteria) this;
        }

        public Criteria andTypenumsIn(List<String> values) {
            addCriterion("TYPENUMS in", values, "typenums");
            return (Criteria) this;
        }

        public Criteria andTypenumsNotIn(List<String> values) {
            addCriterion("TYPENUMS not in", values, "typenums");
            return (Criteria) this;
        }

        public Criteria andTypenumsBetween(String value1, String value2) {
            addCriterion("TYPENUMS between", value1, value2, "typenums");
            return (Criteria) this;
        }

        public Criteria andTypenumsNotBetween(String value1, String value2) {
            addCriterion("TYPENUMS not between", value1, value2, "typenums");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeIsNull() {
            addCriterion("BUSINESSTYPE is null");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeIsNotNull() {
            addCriterion("BUSINESSTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeEqualTo(String value) {
            addCriterion("BUSINESSTYPE =", value, "businesstype");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeNotEqualTo(String value) {
            addCriterion("BUSINESSTYPE <>", value, "businesstype");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeGreaterThan(String value) {
            addCriterion("BUSINESSTYPE >", value, "businesstype");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeGreaterThanOrEqualTo(String value) {
            addCriterion("BUSINESSTYPE >=", value, "businesstype");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeLessThan(String value) {
            addCriterion("BUSINESSTYPE <", value, "businesstype");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeLessThanOrEqualTo(String value) {
            addCriterion("BUSINESSTYPE <=", value, "businesstype");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeLike(String value) {
            addCriterion("BUSINESSTYPE like", value, "businesstype");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeNotLike(String value) {
            addCriterion("BUSINESSTYPE not like", value, "businesstype");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeIn(List<String> values) {
            addCriterion("BUSINESSTYPE in", values, "businesstype");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeNotIn(List<String> values) {
            addCriterion("BUSINESSTYPE not in", values, "businesstype");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeBetween(String value1, String value2) {
            addCriterion("BUSINESSTYPE between", value1, value2, "businesstype");
            return (Criteria) this;
        }

        public Criteria andBusinesstypeNotBetween(String value1, String value2) {
            addCriterion("BUSINESSTYPE not between", value1, value2, "businesstype");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonIsNull() {
            addCriterion("TASKRELEASEPERSON is null");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonIsNotNull() {
            addCriterion("TASKRELEASEPERSON is not null");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonEqualTo(String value) {
            addCriterion("TASKRELEASEPERSON =", value, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonNotEqualTo(String value) {
            addCriterion("TASKRELEASEPERSON <>", value, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonGreaterThan(String value) {
            addCriterion("TASKRELEASEPERSON >", value, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonGreaterThanOrEqualTo(String value) {
            addCriterion("TASKRELEASEPERSON >=", value, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonLessThan(String value) {
            addCriterion("TASKRELEASEPERSON <", value, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonLessThanOrEqualTo(String value) {
            addCriterion("TASKRELEASEPERSON <=", value, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonLike(String value) {
            addCriterion("TASKRELEASEPERSON like", value, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonNotLike(String value) {
            addCriterion("TASKRELEASEPERSON not like", value, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonIn(List<String> values) {
            addCriterion("TASKRELEASEPERSON in", values, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonNotIn(List<String> values) {
            addCriterion("TASKRELEASEPERSON not in", values, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonBetween(String value1, String value2) {
            addCriterion("TASKRELEASEPERSON between", value1, value2, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleasepersonNotBetween(String value1, String value2) {
            addCriterion("TASKRELEASEPERSON not between", value1, value2, "taskreleaseperson");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeIsNull() {
            addCriterion("TASKRELEASEADDTIME is null");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeIsNotNull() {
            addCriterion("TASKRELEASEADDTIME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeEqualTo(Date value) {
            addCriterion("TASKRELEASEADDTIME =", value, "taskreleaseaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeNotEqualTo(Date value) {
            addCriterion("TASKRELEASEADDTIME <>", value, "taskreleaseaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeGreaterThan(Date value) {
            addCriterion("TASKRELEASEADDTIME >", value, "taskreleaseaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TASKRELEASEADDTIME >=", value, "taskreleaseaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeLessThan(Date value) {
            addCriterion("TASKRELEASEADDTIME <", value, "taskreleaseaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeLessThanOrEqualTo(Date value) {
            addCriterion("TASKRELEASEADDTIME <=", value, "taskreleaseaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeIn(List<Date> values) {
            addCriterion("TASKRELEASEADDTIME in", values, "taskreleaseaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeNotIn(List<Date> values) {
            addCriterion("TASKRELEASEADDTIME not in", values, "taskreleaseaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeBetween(Date value1, Date value2) {
            addCriterion("TASKRELEASEADDTIME between", value1, value2, "taskreleaseaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskreleaseaddtimeNotBetween(Date value1, Date value2) {
            addCriterion("TASKRELEASEADDTIME not between", value1, value2, "taskreleaseaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonIsNull() {
            addCriterion("TASKPERFORMPERSON is null");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonIsNotNull() {
            addCriterion("TASKPERFORMPERSON is not null");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonEqualTo(String value) {
            addCriterion("TASKPERFORMPERSON =", value, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonNotEqualTo(String value) {
            addCriterion("TASKPERFORMPERSON <>", value, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonGreaterThan(String value) {
            addCriterion("TASKPERFORMPERSON >", value, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonGreaterThanOrEqualTo(String value) {
            addCriterion("TASKPERFORMPERSON >=", value, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonLessThan(String value) {
            addCriterion("TASKPERFORMPERSON <", value, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonLessThanOrEqualTo(String value) {
            addCriterion("TASKPERFORMPERSON <=", value, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonLike(String value) {
            addCriterion("TASKPERFORMPERSON like", value, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonNotLike(String value) {
            addCriterion("TASKPERFORMPERSON not like", value, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonIn(List<String> values) {
            addCriterion("TASKPERFORMPERSON in", values, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonNotIn(List<String> values) {
            addCriterion("TASKPERFORMPERSON not in", values, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonBetween(String value1, String value2) {
            addCriterion("TASKPERFORMPERSON between", value1, value2, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskperformpersonNotBetween(String value1, String value2) {
            addCriterion("TASKPERFORMPERSON not between", value1, value2, "taskperformperson");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeIsNull() {
            addCriterion("TASKSTARTORENDTIME is null");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeIsNotNull() {
            addCriterion("TASKSTARTORENDTIME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeEqualTo(Date value) {
            addCriterion("TASKSTARTORENDTIME =", value, "taskstartorendtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeNotEqualTo(Date value) {
            addCriterion("TASKSTARTORENDTIME <>", value, "taskstartorendtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeGreaterThan(Date value) {
            addCriterion("TASKSTARTORENDTIME >", value, "taskstartorendtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TASKSTARTORENDTIME >=", value, "taskstartorendtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeLessThan(Date value) {
            addCriterion("TASKSTARTORENDTIME <", value, "taskstartorendtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeLessThanOrEqualTo(Date value) {
            addCriterion("TASKSTARTORENDTIME <=", value, "taskstartorendtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeIn(List<Date> values) {
            addCriterion("TASKSTARTORENDTIME in", values, "taskstartorendtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeNotIn(List<Date> values) {
            addCriterion("TASKSTARTORENDTIME not in", values, "taskstartorendtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeBetween(Date value1, Date value2) {
            addCriterion("TASKSTARTORENDTIME between", value1, value2, "taskstartorendtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartorendtimeNotBetween(Date value1, Date value2) {
            addCriterion("TASKSTARTORENDTIME not between", value1, value2, "taskstartorendtime");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNull() {
            addCriterion("TASKTYPE is null");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNotNull() {
            addCriterion("TASKTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTasktypeEqualTo(Integer value) {
            addCriterion("TASKTYPE =", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotEqualTo(Integer value) {
            addCriterion("TASKTYPE <>", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThan(Integer value) {
            addCriterion("TASKTYPE >", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("TASKTYPE >=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThan(Integer value) {
            addCriterion("TASKTYPE <", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThanOrEqualTo(Integer value) {
            addCriterion("TASKTYPE <=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeIn(List<Integer> values) {
            addCriterion("TASKTYPE in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotIn(List<Integer> values) {
            addCriterion("TASKTYPE not in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeBetween(Integer value1, Integer value2) {
            addCriterion("TASKTYPE between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotBetween(Integer value1, Integer value2) {
            addCriterion("TASKTYPE not between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andIstaskstartIsNull() {
            addCriterion("ISTASKSTART is null");
            return (Criteria) this;
        }

        public Criteria andIstaskstartIsNotNull() {
            addCriterion("ISTASKSTART is not null");
            return (Criteria) this;
        }

        public Criteria andIstaskstartEqualTo(Integer value) {
            addCriterion("ISTASKSTART =", value, "istaskstart");
            return (Criteria) this;
        }

        public Criteria andIstaskstartNotEqualTo(Integer value) {
            addCriterion("ISTASKSTART <>", value, "istaskstart");
            return (Criteria) this;
        }

        public Criteria andIstaskstartGreaterThan(Integer value) {
            addCriterion("ISTASKSTART >", value, "istaskstart");
            return (Criteria) this;
        }

        public Criteria andIstaskstartGreaterThanOrEqualTo(Integer value) {
            addCriterion("ISTASKSTART >=", value, "istaskstart");
            return (Criteria) this;
        }

        public Criteria andIstaskstartLessThan(Integer value) {
            addCriterion("ISTASKSTART <", value, "istaskstart");
            return (Criteria) this;
        }

        public Criteria andIstaskstartLessThanOrEqualTo(Integer value) {
            addCriterion("ISTASKSTART <=", value, "istaskstart");
            return (Criteria) this;
        }

        public Criteria andIstaskstartIn(List<Integer> values) {
            addCriterion("ISTASKSTART in", values, "istaskstart");
            return (Criteria) this;
        }

        public Criteria andIstaskstartNotIn(List<Integer> values) {
            addCriterion("ISTASKSTART not in", values, "istaskstart");
            return (Criteria) this;
        }

        public Criteria andIstaskstartBetween(Integer value1, Integer value2) {
            addCriterion("ISTASKSTART between", value1, value2, "istaskstart");
            return (Criteria) this;
        }

        public Criteria andIstaskstartNotBetween(Integer value1, Integer value2) {
            addCriterion("ISTASKSTART not between", value1, value2, "istaskstart");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeIsNull() {
            addCriterion("TASKSTARTADDTIME is null");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeIsNotNull() {
            addCriterion("TASKSTARTADDTIME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeEqualTo(Date value) {
            addCriterion("TASKSTARTADDTIME =", value, "taskstartaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeNotEqualTo(Date value) {
            addCriterion("TASKSTARTADDTIME <>", value, "taskstartaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeGreaterThan(Date value) {
            addCriterion("TASKSTARTADDTIME >", value, "taskstartaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TASKSTARTADDTIME >=", value, "taskstartaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeLessThan(Date value) {
            addCriterion("TASKSTARTADDTIME <", value, "taskstartaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeLessThanOrEqualTo(Date value) {
            addCriterion("TASKSTARTADDTIME <=", value, "taskstartaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeIn(List<Date> values) {
            addCriterion("TASKSTARTADDTIME in", values, "taskstartaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeNotIn(List<Date> values) {
            addCriterion("TASKSTARTADDTIME not in", values, "taskstartaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeBetween(Date value1, Date value2) {
            addCriterion("TASKSTARTADDTIME between", value1, value2, "taskstartaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskstartaddtimeNotBetween(Date value1, Date value2) {
            addCriterion("TASKSTARTADDTIME not between", value1, value2, "taskstartaddtime");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginIsNull() {
            addCriterion("ISTASKBEGIN is null");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginIsNotNull() {
            addCriterion("ISTASKBEGIN is not null");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginEqualTo(Integer value) {
            addCriterion("ISTASKBEGIN =", value, "istaskbegin");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginNotEqualTo(Integer value) {
            addCriterion("ISTASKBEGIN <>", value, "istaskbegin");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginGreaterThan(Integer value) {
            addCriterion("ISTASKBEGIN >", value, "istaskbegin");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginGreaterThanOrEqualTo(Integer value) {
            addCriterion("ISTASKBEGIN >=", value, "istaskbegin");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginLessThan(Integer value) {
            addCriterion("ISTASKBEGIN <", value, "istaskbegin");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginLessThanOrEqualTo(Integer value) {
            addCriterion("ISTASKBEGIN <=", value, "istaskbegin");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginIn(List<Integer> values) {
            addCriterion("ISTASKBEGIN in", values, "istaskbegin");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginNotIn(List<Integer> values) {
            addCriterion("ISTASKBEGIN not in", values, "istaskbegin");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginBetween(Integer value1, Integer value2) {
            addCriterion("ISTASKBEGIN between", value1, value2, "istaskbegin");
            return (Criteria) this;
        }

        public Criteria andIstaskbeginNotBetween(Integer value1, Integer value2) {
            addCriterion("ISTASKBEGIN not between", value1, value2, "istaskbegin");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeIsNull() {
            addCriterion("TASKBEGINTIME is null");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeIsNotNull() {
            addCriterion("TASKBEGINTIME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeEqualTo(Date value) {
            addCriterion("TASKBEGINTIME =", value, "taskbegintime");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeNotEqualTo(Date value) {
            addCriterion("TASKBEGINTIME <>", value, "taskbegintime");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeGreaterThan(Date value) {
            addCriterion("TASKBEGINTIME >", value, "taskbegintime");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TASKBEGINTIME >=", value, "taskbegintime");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeLessThan(Date value) {
            addCriterion("TASKBEGINTIME <", value, "taskbegintime");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeLessThanOrEqualTo(Date value) {
            addCriterion("TASKBEGINTIME <=", value, "taskbegintime");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeIn(List<Date> values) {
            addCriterion("TASKBEGINTIME in", values, "taskbegintime");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeNotIn(List<Date> values) {
            addCriterion("TASKBEGINTIME not in", values, "taskbegintime");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeBetween(Date value1, Date value2) {
            addCriterion("TASKBEGINTIME between", value1, value2, "taskbegintime");
            return (Criteria) this;
        }

        public Criteria andTaskbegintimeNotBetween(Date value1, Date value2) {
            addCriterion("TASKBEGINTIME not between", value1, value2, "taskbegintime");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeIsNull() {
            addCriterion("TASKBEGINADDTIME is null");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeIsNotNull() {
            addCriterion("TASKBEGINADDTIME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeEqualTo(Date value) {
            addCriterion("TASKBEGINADDTIME =", value, "taskbeginaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeNotEqualTo(Date value) {
            addCriterion("TASKBEGINADDTIME <>", value, "taskbeginaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeGreaterThan(Date value) {
            addCriterion("TASKBEGINADDTIME >", value, "taskbeginaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TASKBEGINADDTIME >=", value, "taskbeginaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeLessThan(Date value) {
            addCriterion("TASKBEGINADDTIME <", value, "taskbeginaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeLessThanOrEqualTo(Date value) {
            addCriterion("TASKBEGINADDTIME <=", value, "taskbeginaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeIn(List<Date> values) {
            addCriterion("TASKBEGINADDTIME in", values, "taskbeginaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeNotIn(List<Date> values) {
            addCriterion("TASKBEGINADDTIME not in", values, "taskbeginaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeBetween(Date value1, Date value2) {
            addCriterion("TASKBEGINADDTIME between", value1, value2, "taskbeginaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskbeginaddtimeNotBetween(Date value1, Date value2) {
            addCriterion("TASKBEGINADDTIME not between", value1, value2, "taskbeginaddtime");
            return (Criteria) this;
        }

        public Criteria andTasknumsIsNull() {
            addCriterion("TASKNUMS is null");
            return (Criteria) this;
        }

        public Criteria andTasknumsIsNotNull() {
            addCriterion("TASKNUMS is not null");
            return (Criteria) this;
        }

        public Criteria andTasknumsEqualTo(Integer value) {
            addCriterion("TASKNUMS =", value, "tasknums");
            return (Criteria) this;
        }

        public Criteria andTasknumsNotEqualTo(Integer value) {
            addCriterion("TASKNUMS <>", value, "tasknums");
            return (Criteria) this;
        }

        public Criteria andTasknumsGreaterThan(Integer value) {
            addCriterion("TASKNUMS >", value, "tasknums");
            return (Criteria) this;
        }

        public Criteria andTasknumsGreaterThanOrEqualTo(Integer value) {
            addCriterion("TASKNUMS >=", value, "tasknums");
            return (Criteria) this;
        }

        public Criteria andTasknumsLessThan(Integer value) {
            addCriterion("TASKNUMS <", value, "tasknums");
            return (Criteria) this;
        }

        public Criteria andTasknumsLessThanOrEqualTo(Integer value) {
            addCriterion("TASKNUMS <=", value, "tasknums");
            return (Criteria) this;
        }

        public Criteria andTasknumsIn(List<Integer> values) {
            addCriterion("TASKNUMS in", values, "tasknums");
            return (Criteria) this;
        }

        public Criteria andTasknumsNotIn(List<Integer> values) {
            addCriterion("TASKNUMS not in", values, "tasknums");
            return (Criteria) this;
        }

        public Criteria andTasknumsBetween(Integer value1, Integer value2) {
            addCriterion("TASKNUMS between", value1, value2, "tasknums");
            return (Criteria) this;
        }

        public Criteria andTasknumsNotBetween(Integer value1, Integer value2) {
            addCriterion("TASKNUMS not between", value1, value2, "tasknums");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsIsNull() {
            addCriterion("ACTUALCOMPLETENUMS is null");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsIsNotNull() {
            addCriterion("ACTUALCOMPLETENUMS is not null");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsEqualTo(Integer value) {
            addCriterion("ACTUALCOMPLETENUMS =", value, "actualcompletenums");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsNotEqualTo(Integer value) {
            addCriterion("ACTUALCOMPLETENUMS <>", value, "actualcompletenums");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsGreaterThan(Integer value) {
            addCriterion("ACTUALCOMPLETENUMS >", value, "actualcompletenums");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsGreaterThanOrEqualTo(Integer value) {
            addCriterion("ACTUALCOMPLETENUMS >=", value, "actualcompletenums");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsLessThan(Integer value) {
            addCriterion("ACTUALCOMPLETENUMS <", value, "actualcompletenums");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsLessThanOrEqualTo(Integer value) {
            addCriterion("ACTUALCOMPLETENUMS <=", value, "actualcompletenums");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsIn(List<Integer> values) {
            addCriterion("ACTUALCOMPLETENUMS in", values, "actualcompletenums");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsNotIn(List<Integer> values) {
            addCriterion("ACTUALCOMPLETENUMS not in", values, "actualcompletenums");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsBetween(Integer value1, Integer value2) {
            addCriterion("ACTUALCOMPLETENUMS between", value1, value2, "actualcompletenums");
            return (Criteria) this;
        }

        public Criteria andActualcompletenumsNotBetween(Integer value1, Integer value2) {
            addCriterion("ACTUALCOMPLETENUMS not between", value1, value2, "actualcompletenums");
            return (Criteria) this;
        }

        public Criteria andIstaskendIsNull() {
            addCriterion("ISTASKEND is null");
            return (Criteria) this;
        }

        public Criteria andIstaskendIsNotNull() {
            addCriterion("ISTASKEND is not null");
            return (Criteria) this;
        }

        public Criteria andIstaskendEqualTo(Integer value) {
            addCriterion("ISTASKEND =", value, "istaskend");
            return (Criteria) this;
        }

        public Criteria andIstaskendNotEqualTo(Integer value) {
            addCriterion("ISTASKEND <>", value, "istaskend");
            return (Criteria) this;
        }

        public Criteria andIstaskendGreaterThan(Integer value) {
            addCriterion("ISTASKEND >", value, "istaskend");
            return (Criteria) this;
        }

        public Criteria andIstaskendGreaterThanOrEqualTo(Integer value) {
            addCriterion("ISTASKEND >=", value, "istaskend");
            return (Criteria) this;
        }

        public Criteria andIstaskendLessThan(Integer value) {
            addCriterion("ISTASKEND <", value, "istaskend");
            return (Criteria) this;
        }

        public Criteria andIstaskendLessThanOrEqualTo(Integer value) {
            addCriterion("ISTASKEND <=", value, "istaskend");
            return (Criteria) this;
        }

        public Criteria andIstaskendIn(List<Integer> values) {
            addCriterion("ISTASKEND in", values, "istaskend");
            return (Criteria) this;
        }

        public Criteria andIstaskendNotIn(List<Integer> values) {
            addCriterion("ISTASKEND not in", values, "istaskend");
            return (Criteria) this;
        }

        public Criteria andIstaskendBetween(Integer value1, Integer value2) {
            addCriterion("ISTASKEND between", value1, value2, "istaskend");
            return (Criteria) this;
        }

        public Criteria andIstaskendNotBetween(Integer value1, Integer value2) {
            addCriterion("ISTASKEND not between", value1, value2, "istaskend");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeIsNull() {
            addCriterion("TASKENDTIME is null");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeIsNotNull() {
            addCriterion("TASKENDTIME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeEqualTo(Date value) {
            addCriterion("TASKENDTIME =", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeNotEqualTo(Date value) {
            addCriterion("TASKENDTIME <>", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeGreaterThan(Date value) {
            addCriterion("TASKENDTIME >", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TASKENDTIME >=", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeLessThan(Date value) {
            addCriterion("TASKENDTIME <", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeLessThanOrEqualTo(Date value) {
            addCriterion("TASKENDTIME <=", value, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeIn(List<Date> values) {
            addCriterion("TASKENDTIME in", values, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeNotIn(List<Date> values) {
            addCriterion("TASKENDTIME not in", values, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeBetween(Date value1, Date value2) {
            addCriterion("TASKENDTIME between", value1, value2, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendtimeNotBetween(Date value1, Date value2) {
            addCriterion("TASKENDTIME not between", value1, value2, "taskendtime");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeIsNull() {
            addCriterion("TASKENDADDTIME is null");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeIsNotNull() {
            addCriterion("TASKENDADDTIME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeEqualTo(Date value) {
            addCriterion("TASKENDADDTIME =", value, "taskendaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeNotEqualTo(Date value) {
            addCriterion("TASKENDADDTIME <>", value, "taskendaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeGreaterThan(Date value) {
            addCriterion("TASKENDADDTIME >", value, "taskendaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TASKENDADDTIME >=", value, "taskendaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeLessThan(Date value) {
            addCriterion("TASKENDADDTIME <", value, "taskendaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeLessThanOrEqualTo(Date value) {
            addCriterion("TASKENDADDTIME <=", value, "taskendaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeIn(List<Date> values) {
            addCriterion("TASKENDADDTIME in", values, "taskendaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeNotIn(List<Date> values) {
            addCriterion("TASKENDADDTIME not in", values, "taskendaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeBetween(Date value1, Date value2) {
            addCriterion("TASKENDADDTIME between", value1, value2, "taskendaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskendaddtimeNotBetween(Date value1, Date value2) {
            addCriterion("TASKENDADDTIME not between", value1, value2, "taskendaddtime");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskIsNull() {
            addCriterion("ISREVIEWTASK is null");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskIsNotNull() {
            addCriterion("ISREVIEWTASK is not null");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskEqualTo(Integer value) {
            addCriterion("ISREVIEWTASK =", value, "isreviewtask");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskNotEqualTo(Integer value) {
            addCriterion("ISREVIEWTASK <>", value, "isreviewtask");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskGreaterThan(Integer value) {
            addCriterion("ISREVIEWTASK >", value, "isreviewtask");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskGreaterThanOrEqualTo(Integer value) {
            addCriterion("ISREVIEWTASK >=", value, "isreviewtask");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskLessThan(Integer value) {
            addCriterion("ISREVIEWTASK <", value, "isreviewtask");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskLessThanOrEqualTo(Integer value) {
            addCriterion("ISREVIEWTASK <=", value, "isreviewtask");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskIn(List<Integer> values) {
            addCriterion("ISREVIEWTASK in", values, "isreviewtask");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskNotIn(List<Integer> values) {
            addCriterion("ISREVIEWTASK not in", values, "isreviewtask");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskBetween(Integer value1, Integer value2) {
            addCriterion("ISREVIEWTASK between", value1, value2, "isreviewtask");
            return (Criteria) this;
        }

        public Criteria andIsreviewtaskNotBetween(Integer value1, Integer value2) {
            addCriterion("ISREVIEWTASK not between", value1, value2, "isreviewtask");
            return (Criteria) this;
        }

        public Criteria andReviewpersonIsNull() {
            addCriterion("REVIEWPERSON is null");
            return (Criteria) this;
        }

        public Criteria andReviewpersonIsNotNull() {
            addCriterion("REVIEWPERSON is not null");
            return (Criteria) this;
        }

        public Criteria andReviewpersonEqualTo(String value) {
            addCriterion("REVIEWPERSON =", value, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewpersonNotEqualTo(String value) {
            addCriterion("REVIEWPERSON <>", value, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewpersonGreaterThan(String value) {
            addCriterion("REVIEWPERSON >", value, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewpersonGreaterThanOrEqualTo(String value) {
            addCriterion("REVIEWPERSON >=", value, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewpersonLessThan(String value) {
            addCriterion("REVIEWPERSON <", value, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewpersonLessThanOrEqualTo(String value) {
            addCriterion("REVIEWPERSON <=", value, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewpersonLike(String value) {
            addCriterion("REVIEWPERSON like", value, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewpersonNotLike(String value) {
            addCriterion("REVIEWPERSON not like", value, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewpersonIn(List<String> values) {
            addCriterion("REVIEWPERSON in", values, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewpersonNotIn(List<String> values) {
            addCriterion("REVIEWPERSON not in", values, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewpersonBetween(String value1, String value2) {
            addCriterion("REVIEWPERSON between", value1, value2, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewpersonNotBetween(String value1, String value2) {
            addCriterion("REVIEWPERSON not between", value1, value2, "reviewperson");
            return (Criteria) this;
        }

        public Criteria andReviewresultIsNull() {
            addCriterion("REVIEWRESULT is null");
            return (Criteria) this;
        }

        public Criteria andReviewresultIsNotNull() {
            addCriterion("REVIEWRESULT is not null");
            return (Criteria) this;
        }

        public Criteria andReviewresultEqualTo(Integer value) {
            addCriterion("REVIEWRESULT =", value, "reviewresult");
            return (Criteria) this;
        }

        public Criteria andReviewresultNotEqualTo(Integer value) {
            addCriterion("REVIEWRESULT <>", value, "reviewresult");
            return (Criteria) this;
        }

        public Criteria andReviewresultGreaterThan(Integer value) {
            addCriterion("REVIEWRESULT >", value, "reviewresult");
            return (Criteria) this;
        }

        public Criteria andReviewresultGreaterThanOrEqualTo(Integer value) {
            addCriterion("REVIEWRESULT >=", value, "reviewresult");
            return (Criteria) this;
        }

        public Criteria andReviewresultLessThan(Integer value) {
            addCriterion("REVIEWRESULT <", value, "reviewresult");
            return (Criteria) this;
        }

        public Criteria andReviewresultLessThanOrEqualTo(Integer value) {
            addCriterion("REVIEWRESULT <=", value, "reviewresult");
            return (Criteria) this;
        }

        public Criteria andReviewresultIn(List<Integer> values) {
            addCriterion("REVIEWRESULT in", values, "reviewresult");
            return (Criteria) this;
        }

        public Criteria andReviewresultNotIn(List<Integer> values) {
            addCriterion("REVIEWRESULT not in", values, "reviewresult");
            return (Criteria) this;
        }

        public Criteria andReviewresultBetween(Integer value1, Integer value2) {
            addCriterion("REVIEWRESULT between", value1, value2, "reviewresult");
            return (Criteria) this;
        }

        public Criteria andReviewresultNotBetween(Integer value1, Integer value2) {
            addCriterion("REVIEWRESULT not between", value1, value2, "reviewresult");
            return (Criteria) this;
        }

        public Criteria andReviewtimeIsNull() {
            addCriterion("REVIEWTIME is null");
            return (Criteria) this;
        }

        public Criteria andReviewtimeIsNotNull() {
            addCriterion("REVIEWTIME is not null");
            return (Criteria) this;
        }

        public Criteria andReviewtimeEqualTo(Date value) {
            addCriterion("REVIEWTIME =", value, "reviewtime");
            return (Criteria) this;
        }

        public Criteria andReviewtimeNotEqualTo(Date value) {
            addCriterion("REVIEWTIME <>", value, "reviewtime");
            return (Criteria) this;
        }

        public Criteria andReviewtimeGreaterThan(Date value) {
            addCriterion("REVIEWTIME >", value, "reviewtime");
            return (Criteria) this;
        }

        public Criteria andReviewtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("REVIEWTIME >=", value, "reviewtime");
            return (Criteria) this;
        }

        public Criteria andReviewtimeLessThan(Date value) {
            addCriterion("REVIEWTIME <", value, "reviewtime");
            return (Criteria) this;
        }

        public Criteria andReviewtimeLessThanOrEqualTo(Date value) {
            addCriterion("REVIEWTIME <=", value, "reviewtime");
            return (Criteria) this;
        }

        public Criteria andReviewtimeIn(List<Date> values) {
            addCriterion("REVIEWTIME in", values, "reviewtime");
            return (Criteria) this;
        }

        public Criteria andReviewtimeNotIn(List<Date> values) {
            addCriterion("REVIEWTIME not in", values, "reviewtime");
            return (Criteria) this;
        }

        public Criteria andReviewtimeBetween(Date value1, Date value2) {
            addCriterion("REVIEWTIME between", value1, value2, "reviewtime");
            return (Criteria) this;
        }

        public Criteria andReviewtimeNotBetween(Date value1, Date value2) {
            addCriterion("REVIEWTIME not between", value1, value2, "reviewtime");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeIsNull() {
            addCriterion("REVIEWADDTIME is null");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeIsNotNull() {
            addCriterion("REVIEWADDTIME is not null");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeEqualTo(Date value) {
            addCriterion("REVIEWADDTIME =", value, "reviewaddtime");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeNotEqualTo(Date value) {
            addCriterion("REVIEWADDTIME <>", value, "reviewaddtime");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeGreaterThan(Date value) {
            addCriterion("REVIEWADDTIME >", value, "reviewaddtime");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("REVIEWADDTIME >=", value, "reviewaddtime");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeLessThan(Date value) {
            addCriterion("REVIEWADDTIME <", value, "reviewaddtime");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeLessThanOrEqualTo(Date value) {
            addCriterion("REVIEWADDTIME <=", value, "reviewaddtime");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeIn(List<Date> values) {
            addCriterion("REVIEWADDTIME in", values, "reviewaddtime");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeNotIn(List<Date> values) {
            addCriterion("REVIEWADDTIME not in", values, "reviewaddtime");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeBetween(Date value1, Date value2) {
            addCriterion("REVIEWADDTIME between", value1, value2, "reviewaddtime");
            return (Criteria) this;
        }

        public Criteria andReviewaddtimeNotBetween(Date value1, Date value2) {
            addCriterion("REVIEWADDTIME not between", value1, value2, "reviewaddtime");
            return (Criteria) this;
        }

        public Criteria andTaskstateIsNull() {
            addCriterion("TASKSTATE is null");
            return (Criteria) this;
        }

        public Criteria andTaskstateIsNotNull() {
            addCriterion("TASKSTATE is not null");
            return (Criteria) this;
        }

        public Criteria andTaskstateEqualTo(Integer value) {
            addCriterion("TASKSTATE =", value, "taskstate");
            return (Criteria) this;
        }

        public Criteria andTaskstateNotEqualTo(Integer value) {
            addCriterion("TASKSTATE <>", value, "taskstate");
            return (Criteria) this;
        }

        public Criteria andTaskstateGreaterThan(Integer value) {
            addCriterion("TASKSTATE >", value, "taskstate");
            return (Criteria) this;
        }

        public Criteria andTaskstateGreaterThanOrEqualTo(Integer value) {
            addCriterion("TASKSTATE >=", value, "taskstate");
            return (Criteria) this;
        }

        public Criteria andTaskstateLessThan(Integer value) {
            addCriterion("TASKSTATE <", value, "taskstate");
            return (Criteria) this;
        }

        public Criteria andTaskstateLessThanOrEqualTo(Integer value) {
            addCriterion("TASKSTATE <=", value, "taskstate");
            return (Criteria) this;
        }

        public Criteria andTaskstateIn(List<Integer> values) {
            addCriterion("TASKSTATE in", values, "taskstate");
            return (Criteria) this;
        }

        public Criteria andTaskstateNotIn(List<Integer> values) {
            addCriterion("TASKSTATE not in", values, "taskstate");
            return (Criteria) this;
        }

        public Criteria andTaskstateBetween(Integer value1, Integer value2) {
            addCriterion("TASKSTATE between", value1, value2, "taskstate");
            return (Criteria) this;
        }

        public Criteria andTaskstateNotBetween(Integer value1, Integer value2) {
            addCriterion("TASKSTATE not between", value1, value2, "taskstate");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateIsNull() {
            addCriterion("TASKFINISHSTATE is null");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateIsNotNull() {
            addCriterion("TASKFINISHSTATE is not null");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateEqualTo(Integer value) {
            addCriterion("TASKFINISHSTATE =", value, "taskfinishstate");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateNotEqualTo(Integer value) {
            addCriterion("TASKFINISHSTATE <>", value, "taskfinishstate");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateGreaterThan(Integer value) {
            addCriterion("TASKFINISHSTATE >", value, "taskfinishstate");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateGreaterThanOrEqualTo(Integer value) {
            addCriterion("TASKFINISHSTATE >=", value, "taskfinishstate");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateLessThan(Integer value) {
            addCriterion("TASKFINISHSTATE <", value, "taskfinishstate");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateLessThanOrEqualTo(Integer value) {
            addCriterion("TASKFINISHSTATE <=", value, "taskfinishstate");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateIn(List<Integer> values) {
            addCriterion("TASKFINISHSTATE in", values, "taskfinishstate");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateNotIn(List<Integer> values) {
            addCriterion("TASKFINISHSTATE not in", values, "taskfinishstate");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateBetween(Integer value1, Integer value2) {
            addCriterion("TASKFINISHSTATE between", value1, value2, "taskfinishstate");
            return (Criteria) this;
        }

        public Criteria andTaskfinishstateNotBetween(Integer value1, Integer value2) {
            addCriterion("TASKFINISHSTATE not between", value1, value2, "taskfinishstate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}